<?php

class UserIdentity extends CUserIdentity
{
    public $id;

    public function __construct($id, $username,$password)
    {
        $this->id=$id;
        $this->username=$username;
        $this->password=$password;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getName()
    {
        return $this->username;
    }
}
  
?>
